package com.fading.common.exception;

public enum MallCode {

    UNKNOW_EXCEPTION(10000,"系统未知异常"),
    VALIDATE_EXCEPTION(10001,"校验不通过");
    private String msg;
    private int code;
    MallCode(int code,String msg){
        this.code = code;
        this.msg = msg;
    }

    public String getMsg() {
        return msg;
    }

    public int getCode() {
        return code;
    }
}
